package icu.bughub.app.app.model.service

import icu.bughub.app.app.model.NetWork
import icu.bughub.app.app.model.entity.UserInfoResponse
import retrofit2.http.Body
import retrofit2.http.POST

interface UserService {


    @POST("user/signIn")
    suspend fun login(@Body params: MutableMap<String, Any>): UserInfoResponse

    companion object {
        fun instance(): UserService {
            return NetWork.createService(UserService::class.java)
        }
    }
}